package com.jz.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName : IndexController  //类名
 * @Description :   //描述
 * @Author : 岚氓  //作者
 * @Date: 2020-11-07 14:22  //时间
 * @Version 1.0
 */
@Controller
public class IndexController {

    @GetMapping("/index")
    public String index(){
        return "index";
    }

    @GetMapping("/tetris")
    public String tetris(){
        return "tetris";
    }


    @GetMapping("/showcontact")
    public String showcontact(){
        return "showcontact";
    }

    @GetMapping("/resume")
    public String resume(){
        return "resume";
    }

    @GetMapping("/ai")
    public String ai(){
        return "ai";
    }


    @GetMapping("/character")
    public String character(){
        return "character";
    }

    @GetMapping("/dong")
    public String dong(){
        return "dong";
    }
}
